package com.itheima.service.impl;

import com.itheima.domain.User;
import com.itheima.mapper.UserMapper;
import com.itheima.service.UserService;
import com.itheima.uitls.MapperUtil;

import java.util.List;

public class UserServiceImpl implements UserService {
    public List<User> findAll() {
        UserMapper mapper = MapperUtil.getMapper(UserMapper.class);
        return mapper.findAll();
    }
}
